package com.hysf.myAnnotation.org.myframework.annotation;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Repeatable(MyComponentScans.class)
public @interface MyComponentScan {
	@AliasFor ("basePackages")
	String[] value() default {};
	@AliasFor ("value")
	String[] basePackages() default {};
	Class<?>[] basePackageClasses() default {};
}
